//
//  ProductModel.h
//  ProjectA_LK
//
//  Created by 萌萌的小坤坤 on 16/6/16.
//  Copyright © 2016年 冷坤. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Topic,Hot,Best;
@interface ProductModel : NSObject

@property (nonatomic, strong) NSArray<NSString *> *topicBest;

@property (nonatomic, strong) NSArray<Topic *> *topic;

@property (nonatomic, strong) NSArray<Hot *> *hot;

@property (nonatomic, strong) NSArray<Best *> *best;

- (instancetype)initWithDic:(NSDictionary *)dic;

+ (instancetype)productModelWithDic:(NSDictionary *)dic;

@end
@interface Topic : NSObject

@property (nonatomic, copy) NSString *topic_name;

@property (nonatomic, copy) NSString *mob_h5_url;

@property (nonatomic, copy) NSString *host_pic;

@property (nonatomic, copy) NSString *last_id;

@property (nonatomic, copy) NSString *template;

@property (nonatomic, copy) NSString *topic_id;

- (instancetype)initWithDic:(NSDictionary *)dic;

+ (instancetype)topicModelWithDic:(NSDictionary *)dic;

+ (NSArray *)getTopicArrayModelWithArray:(NSArray *)topic;

@end

@interface Hot : NSObject

@property (nonatomic, copy) NSString *name;

@property (nonatomic, copy) NSString *hot_type;

@property (nonatomic, copy) NSString *pic;

- (instancetype)initWithDic:(NSDictionary *)dic;

+ (instancetype)hotModelWithDic:(NSDictionary *)dic;

+ (NSArray *)getHotArrayModelWithArray:(NSArray *)hot;


@end

@interface Best : NSObject

@property (nonatomic, copy) NSString *picurl;

@property (nonatomic, copy) NSString *num_iid;

@property (nonatomic, copy) NSString *title;

@property (nonatomic, copy) NSString *price;

@property (nonatomic, copy) NSString *yh_price;

@property (nonatomic, copy) NSString *shop_type;

@property (nonatomic, copy) NSString *open_iid;

@property (nonatomic, copy) NSString *cover_pic;

@property (nonatomic, copy) NSString *sum;

- (instancetype)initWithDic:(NSDictionary *)dic;

+ (instancetype)bestModelWithDic:(NSDictionary *)dic;

+ (NSArray *)getBestArrayModelWithArray:(NSArray *)best;


@end

